public interface ConditionalTrace extends Trace
The ConditionalTrace
interface extends the Trace
interface and defines
the methods that allow enabling and disabling of tracing for this particular condition.
Typically, applications would obtain one ConditionalTrace object per each condition that they need to trace under certain circumstances but not always (e.g. AUDIT, INFO, etc.).
ALERTS, ALERTS_TRACE_NAME, CRITICAL, CRITICAL_TRACE_NAME, DEBUGGING, DEBUGGING_TRACE_NAME, EMERGENCIES, EMERGENCIES_TRACE_NAME, ERROR, ERROR_TRACE_NAME, HIGHEST_LEVEL, INFORMATIONAL, INFORMATIONAL_TRACE_NAME, LOWEST_LEVEL, NOTIFICATION, NOTIFICATION_TRACE_NAME, WARNING, WARNING_TRACE_NAME
Modifier and Type | Method and Description |
---|---|
void |
disable()
Disables this condition for tracing.
|
void |
enable()
Enables this condition for tracing.
|
getName, getSubFacility, getType, isEnabled, println, println, println, println, setDefaultMnemonic